package com.neu.fenli2023623.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
public class UserVo implements Serializable {
    private Integer id;

    private String name;

    private String account;

    private String role;

    private String phoneNum;

    private Integer state;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date time;


    private static final long serialVersionUID = 1L;
}
